package com.lplb.api.admin.model.vo;

import com.lplb.common.core.model.vo.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * <p>
 * 资源表VO 响应返回数据
 * </p>
 *
 * @author ws
 * @date 2020-07-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="AdminAuthVO对象", description="资源表")
public class AdminAuthVO extends BaseVO {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "归属于(类描叙)")
    private String pid;

    @ApiModelProperty(value = "请求方式(GET/POST/PUT/DELETE)")
    private String method;

    @ApiModelProperty(value = "资源url")
    private String url;

    @ApiModelProperty(value = "资源描叙(接口描叙)")
    private String desc;

    @ApiModelProperty(value = "服务名")
    private String serverName;

    @ApiModelProperty(value = "tree")
    private List<AdminAuthVO> adminAuthVO;
}
